id/email
password
forgot password | create account
about | help | prefs
ReadingBatcode reading practice

 

 

Lambda IntroStringLambda2

val upperIt: (String) -> String = { s: String -> s.uppercase() + s.uppercase() } fun func2(s: String): String = upperIt.invoke(s) fun main() { println(func2("abc")) println(func2("table")) println(func2("house")) }

Click on to run the code

⬅ Back